<template>
  <div class="d-layout-body">
    <div class="d-col-xs-12">
      <Streamer cat="0001" class="streamer-dtools">
        <h1 class="d-text-center d-h1">狗信(Dog Chat)</h1>
        <h3 class="d-text-center d-h3">方便局域网内文本、文件传输</h3>
        <h4 class="d-text-center d-h4">基于Web+Socket可在Windows+Linux+Andorid+IOS各平台自由传输</h4>
        <div class="d-text-center btn-container">
          <a class="d-btn btn-go" :href="getMicroPath('#/chat/index')">快速进入</a>
        </div>
      </Streamer>
      <BlockSite :list="list" />
    </div>
  </div>
</template>

<script>
import '@daelui/vdog/dist/business/business.css'
import { Streamer, BlockSite } from '@daelui/vdog/dist/business/business.umd.min.js'

export default {
  components: {
    Streamer,
    BlockSite
  },

  data () {
    return {
      application: window.application,
      list: [
        {
          id: 1,
          title: '聊天',
          list: [
            {
              id: 1001,
              list: [
                {title: '不同平台文件传输难', content: '在Window与Linux或移动端传输信息或文件时,需要安装各种不同软件才能传输'},
                {title: '基于Web可兼容各种环境', content: 'Web浏览支持各平台,打开浏览器进入页面即可传输,支持文本与文件'}
              ]
            },
            {
              id: 1002,
              list: [
                {title: '无网环境文件传输难', content: '如果在一些封闭环境中,涉及数据传输时极不方便,软件安装很麻烦'},
                {title: '基于NodeJS方便安装部署', content: '只要有NodeJS环境一行代码就可快速进行安装,无数据库无依赖模块安装'}
              ]
            }
          ]
        }
      ]
    }
  }
}
</script>
